package com.dark.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chengluchao
 * @since 2022-09-23
 */
@Data
@Builder@NoArgsConstructor
@AllArgsConstructor
public class User extends Model<User> implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 编码-yyyymmdd-rrrr-rr
     */
    private String code;

    /**
     * 显示名称
     */
    private String name;

    /**
     * 账号，可登陆
     */
    private String account;

    private String pwd;

    /**
     * 加密串
     */
    private String uuid;

    /**
     * 电话，可登陆
     */
    private String phone;

    /**
     * 邮箱，可登陆
     */
    private String email;

    /**
     * 逻辑删除 0=存在，非零=删除
     */
    private Long isDelete;

    private String createUser;

    private String updateUser;

    private Date createTime;

    private Date updateTime;

    private String remark;

}
